package com.zsrd.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.zsrd.system.domain.dto.UserMenu;
import com.zsrd.system.domain.SysUserRole;
import com.zsrd.system.mapper.SysUserRoleMapper;
import com.zsrd.system.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Xxx
 * @since 2023-11-22
 */
@Service
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUserRole> implements SysUserRoleService {



    @Override
    public List<String> getListRoleById(Long userId) {
        return baseMapper.getListRoleById(userId);
    }

    @Override
    public void deleteRole(SysUserRole sysUserRole) {
        baseMapper.deleteRole(sysUserRole);
    }
}
